package de.clapp.newsfeed;

import java.util.ArrayList;

import android.content.Loader;
import android.os.Bundle;
import de.clapp.BaseModel;
import de.clapp.data.Newsfeed;

public class NewsfeedModel extends BaseModel<ArrayList<Newsfeed>>
{
    private static final NewsfeedModel instance = new NewsfeedModel();
    public static NewsfeedModel getInstance() { return instance; }

    @Override
    public Loader<ArrayList<Newsfeed>> onCreateLoader(int id, Bundle args)
    {
        System.out.println("NewsfeedModel.onCreateLoader()");
        return new NewsfeedLoader(activity, 10);
    }
}
